﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Magalie.Domaine.Depots;
using Microsoft.Practices.ServiceLocation;

namespace Magalie.Web
{
    public partial class CreateDB : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            IGenDBTools tool = (IGenDBTools)ServiceLocator.Current.GetService(typeof (IGenDBTools));
            tool.GenererLaBase();
            Response.Redirect("~/BusinessApplicationTestPage.aspx");
        }
    }
}
